﻿namespace Lightray.Hattrick.ChppLib.EntityTypes
{
    public struct MatchRating
    {
        public SkillLevel Primary { get; private set; }
        public SecondaryMatchRating Secondary { get; private set; }

        public MatchRating(SkillLevel primary, SecondaryMatchRating secondary)
            : this()
        {
            this.Primary = primary;
            this.Secondary = secondary;
        }

        public override string ToString()
        {
            return string.Format("{0} ({1})", Primary.ToString(), Secondary.ToString());
        }
    }
}
